package cn.wendellup.bootStrap.service.contract;

import java.util.List;

import cn.wendellup.bootStrap.valueobject.entity.AdvDetail;
import cn.wendellup.bootStrap.valueobject.entity.AdvPosition;
import cn.wendellup.bootStrap.valueobject.entity.AdvPositionLink;

public interface IAdvService {
	/**
	 * 获取一个广告位下挂的广告列表
	 */
	public List<Integer> listAdvDetailIdsByAdvPostionId(Integer advPositionId);
	
	/**
	 * 获取与某个菜单关联的广告位列表
	 */
	public List<Integer> listAdvPositionIdByAppId(Integer appParameterId);
	
	public AdvDetail getAdvDetailById(Integer id);
	
	public AdvPositionLink getAdvPositionLinkByPositionAndAppId(Integer positionId
			, Integer appId);
	
	public AdvPosition getAdvPositionById(Integer id);
}
